﻿<!DOCTYPE html>
<html>
	<meta charset="UTF-8"/>
	<head>
		<script>
			var x = 0.7;
			var y = 0.1;
			
			
			//(x*10+y*10)/10
			
			//二进制，冯诺依曼
			//01011101001110001110
			
			document.write( (x*10+y*10)/10 );
			
			document.write( x%5 );
			
			var z = 0x2F;  //47
			
			document.write("<br>"+z);
			
			//当+号，碰到字符串的时候，会变成连接的作用
			
			var name = "张三";
			var age = 18;
			var sex = "男";
			
			document.write("我叫"+name+",年龄"+age+",性别"+sex);
			
			document.write("100"+100);
			
			var abc = 999;
			
			document.write(typeof abc);
			
		</script>
	</head>
	<body>
		
	</body>
</html>











